package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.User;

public interface UserService {

    /*List<User> findAll();*/
    PageInfo<User> findAll(int pageNum, int pageSize);

    User login(User u);

    void add(User u);

    void delete(String delid);

    User findById(String upid);

    void update(User user);
}
